package cn.Liujialin.pet.service;


import cn.Liujialin.basic.service.IBeanService;
import cn.Liujialin.basic.util.PageList;
import cn.Liujialin.pet.domain.Pet;
import cn.Liujialin.pet.domain.SearchMasterMsg;
import cn.Liujialin.pet.query.SearchMasterMsgQuery;
import cn.Liujialin.user.domain.LoginInfo;

public interface ISearchMasterMsgService extends IBeanService<SearchMasterMsg> {


    //发布寻找主人消息
    void publish(SearchMasterMsg searchMasterMsg, Long loginInfoId);
    //处理寻主消息
    void handle(Pet pet, LoginInfo currentLoginInfo);
    //查询个人消息
    PageList<SearchMasterMsg> queryUserMsg(SearchMasterMsgQuery query, LoginInfo currentLoginInfo);

    //查询已处理的消息
    PageList<SearchMasterMsg> processed(SearchMasterMsgQuery query, LoginInfo currentLoginInfo);
   //查询待处理的消息
    PageList<SearchMasterMsg> pending(SearchMasterMsgQuery query, LoginInfo currentLoginInfo);

}
